import request from '@/utils/request'
import Qs from 'qs'

export const authUrl = process.env.VUE_APP_AUTH_API 
export const vueUrl = process.env.VUE_APP_SELF_API
export const oidcSettings = {
    authority: authUrl,
    client_id: 'admin',
    client_secret: 'admin!@#',
    response_type: 'code',
    scope: 'openid profile IdentityService.IdentityServer IdentityService.Menu IdentityService.User IdentityService.Role IdentityService.PermissionGrant IdentityService.Auth',
    redirect_uri: vueUrl + '/signin-oidc',// 表示重定向URI，认证服务器回调的客户端页面。可选项
    post_logout_redirect_uri: vueUrl + '/signout-callback-oidc',
    silent_redirect_uri: vueUrl + '/redirect-silentrenew',
    automaticSilentRenew: true,
}
